<!-- myapp/templates/search.html -->

{% extends 'success.html' %}

{% block content %}
  <h2>搜索课程</h2>
  <form method="get" action="{% url 'search_courses' %}">
    <label for="search_query">搜索：</label>
    <input type="text" name="search_query" required>
    <button type="submit">搜索</button>
  </form>
{% endblock %}
